#ifndef LOGINPAGE_H
#define LOGINPAGE_H

#include <QWidget>
#include <iostream>
#include "MainPage.h"
#include "Socket.h"

using namespace std;

QT_BEGIN_NAMESPACE
namespace Ui {class LoginPage;}
QT_END_NAMESPACE

class LoginPage : public QWidget
{
    Q_OBJECT

public:
    LoginPage(QWidget *parent = nullptr);
    ~LoginPage();

private slots:
    void LoginBottonClick();

private:
    Ui::LoginPage *ui;
    MainPage *mainPage;

    void SocketConnect(string* args);
};

#endif // LOGINPAGE_H